package com.yh.merchant.api;

import com.huiminpay.common.cache.exception.BusinessException;
import com.yh.merchant.dto.StaffDTO;

/**
 * @Author: HWW
 * @Date: 2021/8/2615:36
 * @Desc:
 */
public interface StaffServiceApi {
    /**
     * 商户新增员工
     * @param staffDTO
     */
    StaffDTO createStaff(StaffDTO staffDTO) throws BusinessException;

    /**
     * 为门店设置管理员
     * @param storeId
     * @param staffId
     * @throws BusinessException
     */
    void bindStaffToStore(Long storeId, Long staffId) throws BusinessException;
}
